package com.bdqn.membersystem.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.pojo.OrderInfo;
import com.bdqn.membersystem.mapper.OrderInfoMapper;
import com.bdqn.membersystem.service.OrderInfoService;
/**
* 作者：姚岳城
* 日期：2020/4/3 16:53
*/

@Service
public class OrderInfoServiceImpl implements OrderInfoService{

    @Resource
    private OrderInfoMapper orderInfoMapper;

    @Override
    public int deleteByPrimaryKey(String orderId) {
        return orderInfoMapper.deleteByPrimaryKey(orderId);
    }

    @Override
    public int insertSelective(OrderInfo record) {
        return orderInfoMapper.insertSelective(record);
    }

    @Override
    public OrderInfo selectByPrimaryKey(String orderId) {
        return orderInfoMapper.selectByPrimaryKey(orderId);
    }

    @Override
    public int updateByPrimaryKeySelective(OrderInfo record) {
        return orderInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<OrderInfo> list) {
        return orderInfoMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<OrderInfo> list) {
        return orderInfoMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(OrderInfo record) {
        return orderInfoMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(OrderInfo record) {
        return orderInfoMapper.insertOrUpdateSelective(record);
    }

}
